home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
program
/
kh_gdi.zip
/
GENERAL
/
KH_ERROR.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-05-30
|
492b
|
20 lines
#ifndef __KH_ERROR_H_
#define __KH_ERROR_H_
/* Error handler. Enumeration could be continued in this or another
file(s). This is why could not be used "enum ERRORS { ..."
I suppose to use this variable as common error variable in
the next version of package.
*/
enum { KH_SUCCESS, KH_UNKNOWN_ERROR, KH_FILE_ERROR, KH_BGI_ERROR,
KH_MEMORY_ERROR,
KH_USER_ERROR };
static int kh_error_code; // Last error in system
#endif __KH_ERROR_H_